#pragma once

#include <ClanLib/display.h>
#include "PianoEngine.h"

class MainLoop
{
	bool quit;

	void on_input_up(const CL_InputEvent &key, const CL_InputState &state);
	void on_input_down(const CL_InputEvent &key, const CL_InputState &state);
	void on_window_close();
	PianoEngine piano_engine;

public:
	MainLoop();
	void start(const std::vector<CL_String> &args);
};
